package cn.jwm.permission.service.impl;


import cn.jwm.base.service.impl.BaseServiceImp;
import cn.jwm.permission.domain.Permission;
import cn.jwm.permission.mapper.PermissionMapper;
import cn.jwm.permission.query.PermissionQuery;
import cn.jwm.permission.service.IPermissionService;
import cn.jwm.utils.PageList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl extends BaseServiceImp<Permission> implements IPermissionService {

    @Autowired(required = false)
    private PermissionMapper permissionMapper;


    @Override
    public List<String> getPermissionSnsByLoginUserId(Long loginUserId) {
       return permissionMapper.loadPermissionSnsByLoginUserId(loginUserId);
    }
}
